﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using SydEnergiPrototype.DataAccess;
using SydEnergiPrototype.Logic;
using SydEnergiPrototype.Model;

namespace SydEnergiPrototypeUnitTest.ViewModelTest
{
    public class DataServiceMock : IDataService
    {
        public IEntry SavedEntry;
        public bool PersistWasCalled = false;

       public void RetrieveCabinets(ReturnResult callback)
        {
            throw new NotImplementedException();
        }

        public void PersistEntry(ReturnResult callback)
        {
            PersistWasCalled = true;
        }

        public void RetrieveCabinet(ReturnResult callback, string id)
        {
            throw new NotImplementedException();
        }

        public void PersistEntry(IEntry entry)
        {
            SavedEntry = entry;
            PersistWasCalled = true;
        }

        public IEntry RetrieveEntry(Address entry)
        {
            throw new NotImplementedException();
        }
    }
}
